package com.tongtailian.www.stir.bean;

import com.heiko.dropwidget.DropBeanFlag;

import java.io.Serializable;

/**
 * Created by liuml on 2020/9/6 16:51
 */
public class ConfigBean implements Serializable, DropBeanFlag {
    private String name;
    private boolean isSelect;
    private boolean isEdit;
    private String look;
    private int state;
    private String value;

    //0、未做
    //1、进行中
    //2、已完成


    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public boolean isEdit() {
        return isEdit;
    }

    public void setEdit(boolean edit) {
        isEdit = edit;
    }

    public String getLook() {
        return look;
    }

    public void setLook(String look) {
        this.look = look;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isSelect() {
        return isSelect;
    }

    public void setSelect(boolean select) {
        isSelect = select;
    }

    @Override
    public String getDropName() {
        return getName();
    }

    @Override
    public Boolean isDropChecked() {
        return isSelect;
    }

    @Override
    public void setDropChecked(Boolean checked) {
        this.isSelect = checked;
    }

    @Override
    public int getDropCheckedImageRes() {
        return 0;
    }

    @Override
    public int getNoneDropCheckedImageRes() {
        return 0;
    }
}
